home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / WWW / Charon / Rexx / Pause.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  2000-01-01  |  544 b   |  22 lines

  1. /* Example: Effectively pauses current transfers */
  2. /* Doesn't queue transfers that were queued before the pause */
  3. /* Requires rexxreqtools.library */
  4.  
  5. OPTIONS RESULTS
  6.  
  7. IF ~SHOW('L', 'rexxreqtools.library') THEN IF ~ADDLIB('rexxreqtools.library', 0, -30, 0) THEN DO
  8.     SAY "Couldn't open rexxreqtools.library!"
  9.     EXIT(10)
  10. END
  11.  
  12. 'SELECT NONE'
  13. 'SELECT STARTED'
  14. 'STOP ALL'
  15.  
  16. Dummy = rtEZRequest("Downloads paused", '_Continue', 'Pause', 'rt_reqpos=reqpos_centerscr rtez_flags=ezreqf_centertext')
  17.  
  18. 'START SELECTED'
  19.  
  20. /* Optionally: */
  21. /* 'START ALL' */
  22.